package com.ebraga.trackerclub.android.handler.api;

import java.util.List;

import com.ebraga.trackerclub.android.exception.handler.BackofficeHandlerException;
import com.ebraga.trackerclub.android.vo.RankingVO;


public interface RankingHandler {
	
	/**
	 * Insert ranking in the local database android
	 * 
	 * @param ranking
	 * @throws BackofficeHandlerException
	 */
	void insert(RankingVO ranking) throws BackofficeHandlerException;
	
	/**
	 * Return ranking from local database android.
	 * @return
	 * @throws BackofficeHandlerException
	 */
	List<RankingVO> retrieveRanking() throws BackofficeHandlerException;	
	
	/**
	 * Delete all data
	 * @throws BackofficeHandlerException
	 */
	void deleteAllLines() throws BackofficeHandlerException;	
	
}
